from random import randint


class Die():
    """类描述"""
    def __init__(self, sides=6):
        self.sides = sides

    def roll_die(self):
        print(randint(1, self.sides))


die = Die()
for val in range(1, 11):
    die.roll_die()

print("======10======")
die = Die(10)
for val in range(1, 11):
    die.roll_die()
